﻿using System;

namespace MessagePack.Internal
{
	// Token: 0x020000FE RID: 254
	internal static class InternalMemoryPool
	{
		// Token: 0x060003A0 RID: 928 RVA: 0x0000D5C3 File Offset: 0x0000B9C3
		public static byte[] GetBuffer()
		{
			if (InternalMemoryPool.buffer == null)
			{
				InternalMemoryPool.buffer = new byte[65536];
			}
			return InternalMemoryPool.buffer;
		}

		// Token: 0x04000152 RID: 338
		[ThreadStatic]
		private static byte[] buffer;
	}
}
